<?php

declare(strict_types=1);

namespace App\CustHub\Model;

use Mine\MineModel;

/**
 * @property int $id 主键ID
 * @property int $uid 客服ID
 * @property int $trigger_reply 触发回复：0=关 1=开
 * @property int $offline_reply 离线回复：0=关 1=开
 * @property int $quick_match 快捷语匹配：0=关 1=开
 * @property int $hide_empty_group 隐藏空分组：0=关 1=开
 * @property int $default_quick_tab 默认快捷语TAB ID（下拉选项ID）
 * @property int $default_user_tab 默认用户资料TAB ID（下拉选项ID）
 * @property int $progress_notify_bar 通知栏提醒开关：0=关 1=开
 * @property int $progress_notify_bar_ahead 通知栏提醒提前时间
 * @property int $progress_notify_bar_unit 通知栏提醒提前时间单位：1=分钟 2=小时 3=天
 * @property int $progress_popup 弹出框提醒开关：0=关 1=开
 * @property int $progress_popup_ahead 弹出框提醒提前时间
 * @property int $progress_popup_unit 弹出框提醒提前时间单位：1=分钟 2=小时 3=天
 * @property \Carbon\Carbon $created_at 创建时间
 * @property \Carbon\Carbon $updated_at 更新时间
 */
class ChTalkSettingConfig extends MineModel
{
    /**
     * The table associated with the model.
     */
    protected ?string $table = 'ch_talk_setting_config';

    /**
     * The attributes that are mass assignable.
     */
    protected array $fillable = ['id', 'uid', 'trigger_reply', 'offline_reply', 'quick_match', 'hide_empty_group', 'default_quick_tab', 'default_user_tab', 'progress_notify_bar', 'progress_notify_bar_ahead', 'progress_notify_bar_unit', 'progress_popup', 'progress_popup_ahead', 'progress_popup_unit', 'created_at', 'updated_at'];

    /**
     * The attributes that should be cast to native types.
     */
    protected array $casts = ['id' => 'integer', 'uid' => 'integer', 'trigger_reply' => 'integer', 'offline_reply' => 'integer', 'quick_match' => 'integer', 'hide_empty_group' => 'integer', 'default_quick_tab' => 'integer', 'default_user_tab' => 'integer', 'progress_notify_bar' => 'integer', 'progress_notify_bar_ahead' => 'integer', 'progress_notify_bar_unit' => 'integer', 'progress_popup' => 'integer', 'progress_popup_ahead' => 'integer', 'progress_popup_unit' => 'integer', 'created_at' => 'datetime', 'updated_at' => 'datetime'];
}
